package com.ruoyi.web.controller.demo.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * sys_warehouse对象 sys_warehouse
 * 
 * @author ruoyi
 * @date 2022-12-30
 */
public class SysWarehouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增Id 主键 */
    @Excel(name = "主键自增Id 主键")
    private Long id;

    /** 库房名称 */
    @Excel(name = "库房名称")
    private String name;

    private Long lastLine;

    public Long getLastLine() {
        return lastLine;
    }

    public void setLastLine(Long lastLine) {
        this.lastLine = lastLine;
    }

    /** 规格 */
    @Excel(name = "规格")
    private Long line;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createName;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private String userState;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 人员信息信息 */
    private List<SysWzxUser> sysWzxUserList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLine(Long line) 
    {
        this.line = line;
    }

    public Long getLine() 
    {
        return line;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setCreateName(Long createName) 
    {
        this.createName = createName;
    }

    public Long getCreateName() 
    {
        return createName;
    }
    public void setUserState(String userState) 
    {
        this.userState = userState;
    }

    public String getUserState() 
    {
        return userState;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    public List<SysWzxUser> getSysWzxUserList()
    {
        return sysWzxUserList;
    }

    public void setSysWzxUserList(List<SysWzxUser> sysWzxUserList)
    {
        this.sysWzxUserList = sysWzxUserList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("line", getLine())
            .append("type", getType())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("userState", getUserState())
            .append("state", getState())
            .append("sysWzxUserList", getSysWzxUserList())
            .toString();
    }
}
